package com.rhb.oa.news.web.struts.form;

import java.util.ArrayList;
import java.util.Collection;

import org.apache.struts.action.ActionForm;

import com.rhb.oa.news.bean.News;
import com.rhb.oa.news.bean.NewsQuery;

public class NewsShowForm extends ActionForm {

	// Fields
	private String newsPk;
	private News news;
	private NewsQuery newsQuery = new NewsQuery();
	private Collection newsList = new ArrayList();
	private Collection notifyList = new ArrayList();
	private Collection declareList = new ArrayList();
	private Collection ruleList = new ArrayList();

	// default construct
	public NewsShowForm() {
		news = new News();
		newsQuery = new NewsQuery();
	}
	
	public Collection getNewsList() {
		return newsList;
	}

	public void setNewsList(Collection newsList) {
		this.newsList = newsList;
	}

	public Collection getNotifyList() {
		return notifyList;
	}

	public void setNotifyList(Collection notifyList) {
		this.notifyList = notifyList;
	}

	public Collection getDeclareList() {
		return declareList;
	}

	public void setDeclareList(Collection declareList) {
		this.declareList = declareList;
	}

	public Collection getRuleList() {
		return ruleList;
	}

	public void setRuleList(Collection ruleList) {
		this.ruleList = ruleList;
	}

	public NewsQuery getNewsQuery() {
		return newsQuery;
	}

	public void setNewsQuery(NewsQuery newsQuery) {
		this.newsQuery = newsQuery;
	}

	public News getNews() {
		return news;
	}

	public void setNews(News news) {
		this.news = news;
	}

	public String getNewsPk() {
		return newsPk;
	}

	public void setNewsPk(String newsPk) {
		this.newsPk = newsPk;
	}
}
